<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改律师信息</title>

    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

</head>
<body>
<div class="container">
    <h3>修改律师信息</h3>
    <form action="modify" method="post">
        <input type="hidden" name="lawyerId" th:value="${lawyer.lawyerId}">
        <div class="form-group">
            <label for="lawyerName">律师姓名</label>
            <input type="text" class="form-control" name="lawyerName" id="lawyerName" th:value="${lawyer.lawyerName}"
                   placeholder="请输入律师姓名">
        </div>
        <div class="form-group">
            <label>律师性别</label>
            <div class="radio">
                <label>
                    <input type="radio" name="gender" value="男"
                           th:checked="${lawyer.gender.equalsIgnoreCase('男')} ? true : false">男
                </label>
            </div>
            <div class="radio">
                <label>
                    <input type="radio" name="gender" value="女"
                           th:checked="${lawyer.gender.equalsIgnoreCase('女')} ? true : false">女
                </label>
            </div>
        </div>
        <div class="form-group">
            <label for="nation">民族</label>
            <input type="text" class="form-control" name="nation" id="nation" th:value="${lawyer.nation}"
                   placeholder="请输入所属民族">
        </div>
        <div class="form-group">
            <label for="birthday">出生日期</label>
            <input type="text" class="form-control" name="birthday" id="birthday" th:value="${lawyer.birthday}"
                   placeholder="请输入出生日期, 如：2021-12-05">
        </div>
        <div class="form-group">
            <label for="school">毕业院校</label>
            <input type="text" class="form-control" name="school" id="school" th:value="${lawyer.school}"
                   placeholder="请输入毕业院校">
        </div>
        <input type="submit" class="btn btn-info" value="修改">

    </form>

</div>

</body>
</html>